﻿using Model;
using System.Drawing;

namespace BLL.Interface
{
    /// <summary>
    /// 验证码业务逻辑层接口
    /// </summary>
    public interface ICaptchaBLL
    {
        /// <summary>
        /// 获取图片验证码
        /// </summary>
        /// <returns></returns>
        Task<byte[]> GetImageCaptcha(string appId,DateTime expiredTime);
        /// <summary>
        /// 获取游戏验证码
        /// </summary>
        /// <returns></returns>
        Task<ResponseMessage> GetEmailCaptcha(string email,DateTime expiredTime);
    }
}
